import http from '@/utils/http'
/**
 * 查询活跃用户和新建用户接口
 */
const UserStatisticsApi = {
  getUserStatistics: () => {
    return http.get('/userStatistics/last7days')
  },
  getScoreLevel: (contestId:String) =>{
    return http.get('/userStatistics/scoreLevel', 
             { contestId }  // 使用params传递
        );
  }
};
export default UserStatisticsApi;